package com.bjc.platform.model;

/***********************************************************************
 * Module:  DepartmentType.java
 * Author:  Administrator
 * Purpose: Defines the Class Position
 ***********************************************************************/

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 部门类型
 */

@Entity
@Table(name = "adm_department_type")
public class AdmDepartmentType implements Serializable {

	private static final long serialVersionUID = -4831550100723318575L;

	private Integer id;

	private String companyCode;

	private String name;

	private String code;

	private String division;

	public AdmDepartmentType() {
	}

	@Id
	@Column(name="id")
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name="company_code")
	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDivision() {
		return division;
	}

	public void setDivision(String division) {
		this.division = division;
	}

}